package job_004;

import java.util.Scanner;

public class three {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		System.out.println("give side length");
		int a=sc.nextInt();
		System.out.println("give side length again");
		int b=sc.nextInt();
		System.out.println("give side length again2");
		int c=sc.nextInt();
		if(a+b>c&&a+c>b&&b+c>a) {
			System.out.println("this is a triangle");
		}else {
			System.out.println("not triangle");
		}
		if(a*a+b*b==c*c||a*a+c*c==b*b||b*b+c*c==a*a) {
			System.out.println("this is a right-angled triangle");
			float area;
			area=(a+b+c)/2;
			System.out.println("triangle area"+area);
		}else {
			System.out.println("not right-angled triangle");
			float perimeter;
			perimeter=a+b+c;
			System.out.println("triangle circumference"+perimeter);
		}
	}

}
